﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HotelPage/Hotel.master" AutoEventWireup="true" CodeFile="HotelChangepsw.aspx.cs" Inherits="HotelPage_HotelChangepsw" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width:inherit; margin-left:212px; margin-right:212px;">
<table style="width:600px;text-align: center;">
<tr><td colspan="2">修改密码页面</td><td>&nbsp;</td></tr>
<tr>
<td>原密码：</td>
<td><asp:TextBox ID="TextBoxOld" runat="server" TextMode="Password"></asp:TextBox></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>新密码：</td>
<td><asp:TextBox ID="TextBoxNew" runat="server" TextMode="Password"></asp:TextBox></td>
<td>&nbsp;</td>
</tr>
<tr>
<td> 确认密码：</td>
<td><asp:TextBox ID="TextBoxRenew" runat="server" TextMode="Password"></asp:TextBox></td>
<td>
    <asp:CompareValidator ID="CompareValidator1" runat="server" 
        ControlToCompare="TextBoxNew" ControlToValidate="TextBoxRenew" 
        ErrorMessage="两次密码不一样！"></asp:CompareValidator>
</td>
</tr>
<tr>
<td colspan="2">  
<asp:Button ID="Button1" runat="server" Text="确认" onclick="Button1_Click" />&nbsp;&nbsp;&nbsp;
<asp:Button ID="Button2" runat="server" Text="返回" PostBackUrl="~/HotelPage/HotelInput.aspx" />
</td> 
<td> &nbsp; 
    </td> 
</tr>

</table>
</div>
</asp:Content>

